package net.srcz.jsjvm.core;

import java.io.PrintStream;
import java.util.Set;

import org.objectweb.asm.AnnotationVisitor;
import org.objectweb.asm.Attribute;
import org.objectweb.asm.FieldVisitor;

public class JsFieldVisitor implements FieldVisitor {

	PrintStream ps;
	Set<String> classesRef;
	
	public JsFieldVisitor(Set<String> classesRef, PrintStream ps) {
		this.ps = ps;
		this.classesRef = classesRef;
	}

	@Override
	public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
		return new JsAnnotationVisitor(null, desc, classesRef, ps);
	}

	@Override
	public void visitAttribute(Attribute attr) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void visitEnd() {
		// TODO Auto-generated method stub
		
	}

}
